CEIL
INT

Syntax: CEIL (x)
   and: INT (x)
Location: Math Package (CEIL) and QL ROM (INT)

The function CEIL returns the closest integer to x which is greater than or equal to x (the 'ceiling' of x).

Compare INT which returns the next integer which is less than or equal:

CEIL(12.75)=13
INT(12.75)=12
CEIL(-2.3)=-2
INT(-2.3)=-3

CEIL can handle numbers in the range -32768<x<=32768.
INT can handle numbers in the range -2^31<=x<2^31 and even larger numbers under SMS.
